var libLoad = {base:{init:function() {
  baseUrl = null;
  toolBar = new Array();
  tabOuverte = new Array();
  idU = 0;
  idD = 0;
  valid = {tab:[], add:function(a, c) {
    this.tab[a] = c
  }};
  timers = {tab:[], add:function(a, c) {
    this.tab[a] = c
  },call:function(a, b, c){
    setTimeout(a, b, c)
  }};
  if(document.getElementsByTagName) {
    var b = document.getElementsByTagName("base")
  }
  if(b.length) {
    baseUrl = b[0].href
  }
  idU = document.getElementById("idUser").value;
  idD = document.getElementById("idDroit").value;
  timerDash = {add:function(a, b, c) {
    setInterval(a, b, c)
  }};
}},
script : { init : function() {
        var s = [
        "/public/js/menu.js",
        "/library/Treeview/jquery.treeview.js",
        "/public/js/common.js",
        "/public/js/connexion/user.js",
        "/public/js/config/config.js",
        "/public/js/log/log.js",
        "/public/js/console/command.js",
        "/library/Tooltip/jquery.tooltip.js",
        "/library/dataTable/jquery.dataTables.js",
        "/library/dataTable/jquery.jeditable.js",
        "/library/gritter/jquery.gritter.js",
        "/public/js/admin/admin.js",
        "/library/JQuery/jquery.svg.js",
        "/public/js/topologie/visuTopologie.js",
        "/public/js/sonde/common.js",
        "/public/js/visualisation/visuTabulaire.js"];
        var  sc = "script", tp = "text/javascript" ;
        AttachScript( sc, tp, s )
}}, css:{init:function() {
  AttachCss("link", "text/css", ["/public/css/base/style.css", "/public/css/jquery/ui.all.css", "/library/JQuery/jquery.svg.css"])
}}, firebug:{init:function() {
  if(!window.console || !console.firebug) {
    (function(b, a) {
      for(window.console = {};a--;) {
        window.console[b[a]] = function() {
        }
      }
    })("log debug info warn error assert dir dirxml trace group groupEnd time timeEnd \nprofile profileEnd count".split(" "), 16)
  }
}}};
$(function() {
    libLoad.base.init();
    libLoad.css.init();
    libLoad.firebug.init();
    libLoad.script.init()
});
function AttachScript(a, d, e) {
    for(var f = document, c = 0, g = e.length;c < g;c++) {
        var b = f.createElement(a);
        b.setAttribute("src", baseUrl + e[c]);
        b.setAttribute("type", d);
        f.getElementsByTagName("body")[0].appendChild(b)
    }
}
function AttachCss(a, d, e) {
    for(var f = document, c = 0, g = e.length;c < g;c++) {
        var b = f.createElement(a);
        b.setAttribute("href", baseUrl + e[c]);
        b.setAttribute("type", d);
        b.setAttribute("rel", "stylesheet");
        f.getElementsByTagName("head")[0].appendChild(b)
    }
}